<?php

namespace app\api\controller\test;


use app\api\controller\BC;

class Login extends BC
{
    protected $noNeedLogin = 'index';

    public function index()
    {
        exit;
        $input = input();

        $this->auth->direct($input['id']);

        $token = $this->auth->getToken();

        $str = 'https://huiyi.bigchun.com/#/?token=' . $token;

        $this->success('', get_defined_vars());
    }
}
